﻿<%@ Register TagPrefix="uc1" TagName="menu_khachhang" Src="../common/menu_khachhang.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="ykien.aspx.vb" Inherits="kdadmin.ykien" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.01 Transitional//EN">
<HTML>
	<HEAD>
		<title>gopy</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="VBScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../../../Styles.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body MS_POSITIONING="FlowLayout">
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="0">
				<TR>
					<TD style="WIDTH: 37px"></TD>
					<TD>
						<uc1:menu_khachhang id="Menu_khachhang1" runat="server"></uc1:menu_khachhang></TD>
				</TR>
				<TR>
					<TD style="WIDTH: 37px"></TD>
					<TD>
						<asp:datagrid id="DataGrid1" runat="server" OnPageIndexChanged="DataGrid1_PageIndexChanged" AutoGenerateColumns="False"
							BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" BackColor="White">
							<HeaderStyle Font-Bold="True" HorizontalAlign="Center" ForeColor="#ff6600" BackColor="#990000"></HeaderStyle>
							<Columns>
								<asp:BoundColumn DataField="ngay" HeaderText="Ngày"></asp:BoundColumn>
								<asp:BoundColumn DataField="hoten" HeaderText="Họ và tên"></asp:BoundColumn>
								<asp:BoundColumn DataField="tieude" HeaderText="Chủ đề"></asp:BoundColumn>
								<asp:TemplateColumn HeaderText="Nội dung">
									<ItemTemplate>
										<asp:Label ID="Label2" Text='<%# DataBinder.Eval(Container.DataItem, "noidung").toString()  %>' Runat=server />
										<asp:Label ID="Label3" Text='<%# "<br><b>Email</b>: " + DataBinder.Eval(Container.DataItem, "email").toString()  %>' Runat=server />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:BoundColumn DataField="Tel" HeaderText="Ðiện thoại"></asp:BoundColumn>
								<asp:TemplateColumn HeaderText="Chi tiết">
									<ItemTemplate>
										<asp:Label ID="Label1" Text='<%# "&nbsp;&nbsp;&nbsp;<a href=""ykien.aspx?id=" + DataBinder.Eval(Container.DataItem, "idgopy").toString()+ """>In</a>" %>' Runat=server />
										<asp:Label ID="Label4" Text='<%# "<br><br><a href=""hykien.aspx?id=" + DataBinder.Eval(Container.DataItem, "idgopy").toString()+ "&v=" + Request.QueryString("v")  + """>daxem</a>" %>' Runat=server />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Xóa">
									<ItemTemplate>
										<asp:Label ID="Delete" Text='<%# "<a href=""xykien.aspx?id=" + DataBinder.Eval(Container.DataItem, "idgopy").toString()+ """><img src=""../../images/delete.gif"" border=0></a>" %>' Runat=server />
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
							<PagerStyle HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC"></PagerStyle>
						</asp:datagrid>
					</TD>
				</TR>
				<TR>
					<TD style="WIDTH: 37px"></TD>
					<TD></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
